package com.hongtong.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hongtong
 * @since 2022-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TeAn对象", description="")
public class TeAn implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "答案id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "答案内容")
    private String value;

    @ApiModelProperty(value = "作业id")
    private Integer taId;

    @ApiModelProperty(value = "学生id")
    private Integer userId;

    @ApiModelProperty(value = "分数")
    private int fraction;

    @TableField(exist = false)
    private TeUser teUser;

    @TableField(exist = false)
    private TeTask teTask;


}
